.class Lcom/example/m6wmr/GiftActivity$6;
.super Ljava/lang/Object;
.source "GiftActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/GiftActivity;->selectonegiftdata()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/GiftActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/GiftActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/GiftActivity$6;->this$0:Lcom/example/m6wmr/GiftActivity;

    .line 317
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 5
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 319
    invoke-static {}, Lmyapp/Util;->isFastDoubleClick()Z

    move-result v2

    if-eqz v2, :cond_0

    .line 333
    :goto_0
    return-void

    .line 322
    :cond_0
    const-string v2, "GiftActivity"

    const-string v3, "\u70b9\u5151\u6362\u793c\u54c1"

    invoke-static {v2, v3}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 323
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$6;->this$0:Lcom/example/m6wmr/GiftActivity;

    .line 324
    const-string v3, "userInfo"

    const/4 v4, 0x0

    .line 323
    invoke-virtual {v2, v3, v4}, Lcom/example/m6wmr/GiftActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v0

    .line 325
    .local v0, "preferences":Landroid/content/SharedPreferences;
    const-string v2, "uid"

    const-string v3, ""

    invoke-interface {v0, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 326
    .local v1, "uid":Ljava/lang/String;
    if-eqz v1, :cond_1

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    .line 328
    :cond_1
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$6;->this$0:Lcom/example/m6wmr/GiftActivity;

    invoke-virtual {v2}, Lcom/example/m6wmr/GiftActivity;->waitlogin()V

    goto :goto_0

    .line 330
    :cond_2
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$6;->this$0:Lcom/example/m6wmr/GiftActivity;

    # getter for: Lcom/example/m6wmr/GiftActivity;->mcontext:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/GiftActivity;->access$3(Lcom/example/m6wmr/GiftActivity;)Landroid/content/Context;

    move-result-object v2

    const-string v3, "\u793c\u54c1\u5151\u6362\u63d0\u4ea4"

    const-string v4, "\u6570\u636e\u63d0\u4ea4\u4e2d.."

    invoke-static {v2, v3, v4}, Lmyapp/Util;->showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 331
    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$6;->this$0:Lcom/example/m6wmr/GiftActivity;

    invoke-virtual {v2}, Lcom/example/m6wmr/GiftActivity;->giftchangeSource()Z

    goto :goto_0
.end method
